<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
    Integer datastatus = (Integer) session.getAttribute("datastatus");
    Integer totlenum = (Integer) session.getAttribute("totlenum");
    Integer curPage = (Integer) session.getAttribute("curPage");
    String username = (String) session.getAttribute("username");
    String shopid = (String) session.getAttribute("shopid");
    Integer adminUsergrade = (Integer) session.getAttribute("adminUsergrade");
    String parentid = (String) session.getAttribute("parentid");
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>随便打TCS系统</title>

    <!-- Bootstrap -->
    <link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <!-- Select2 -->
    <link href="../vendors/select2/dist/css/select2.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="../vendors/nprogress/nprogress.css" rel="stylesheet">
    <!-- iCheck -->
    <link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">

    <!-- bootstrap-progressbar -->
    <link href="../vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
    <!-- JQVMap -->
    <link href="../vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/>
    <!-- bootstrap-daterangepicker -->
    <link href="../vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
    <!-- Custom Theme Style -->
    <link href="../build/css/custom.min.css" rel="stylesheet">
    <!--必要样式-->
    <%--<link href="../address/css/bootstrap.css" rel="stylesheet" type="text/css" />--%>
    <link href="../address/css/city-picker.css" rel="stylesheet" type="text/css" />
    <style>
        .areaChoose {display: flex;justify-content: space-between}
                .areaChoose input{width:48%;}
                .areaChoose select:first-child{margin-right:30px;}
                .areaChoose .city{display:none;}
        .recArea, .areaList{display: none;}
        .show_div, .show_all{position: absolute;top:34px;left:10px;text-align: left;width:100%;padding-right:20px;background-color: #fff;color:#333;font-size: 16px;z-index: 1000;}
        .append_span{display:block;padding: 10px;border-bottom: 1px solid #eee;width: 100%;padding-right:0;}
        .append_span:hover{background-color: #eee;}

        .areaChoose {
            display: flex;
            justify-content: space-between
        }

        .areaChoose input {
            width: 48%;
        }

        .areaChoose select:first-child {
            margin-right: 30px;
        }

        .areaChoose .city {
            display: none;
        }

        .recArea, .areaList {
            display: none;
        }

        .show_div, .show_all {
            position: absolute;
            top: 34px;
            left: 10px;
            text-align: left;
            padding: 10px;
            width: 48%;
            background-color: #fff;
            color: #333;
            font-size: 16px;
            z-index: 1000;
        }
    </style>
</head>

<body class="nav-md">
<div class="container body">
    <div class="main_container">
        <div class="col-md-3 left_col">
            <div class="left_col scroll-view">


                <div class="clearfix"></div>

                <br/>
            </div>
        </div>


        <!-- page content -->
        <div class="right_col" role="main">
            <div class="">
                <div class="page-title">
                    <div class="title_left">
                        <h3>创建一个新的账户</h3>
                    </div>


                </div>
                <div class="clearfix"></div>

                <div class="row">
                    <div class="col-md-12 col-sm-12 col-xs-12">
                        <div class="x_panel">
                            <div class="x_title">
                                <h2>修改账户信息</h2>

                                <div class="clearfix"></div>
                            </div>
                            <div class="x_content">

                                <form name="myForm" class="form-horizontal form-label-left" novalidate method="post"
                                      enctype="multipart/form-data" id="formUpload">
                                    <p>
                                        您需要将以下内容填写完整后才可以创建商家，如有疑问请
                                        <code>联系客服</code>
                                        以帮助您完成相关配置以及信息完善
                                    </p>
                                    <span class="section">基本信息</span>

                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">账户名
                                            <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <input id="username" class="form-control col-md-7 col-xs-12" name="name"
                                                   placeholder="例如：随便打来电" required="required" type="text">
                                        </div>
                                    </div>
                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">商家性质 <span
                                                class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <select class="form-control" id="nature">
                                                <option value="-1">请选择商家性质</option>
                                                <option value="1">市级代理</option>
                                                <option value="2">县级代理</option>
                                                <option value="3">普通商家</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div id="distpicker">
                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">地域信息 <span
                                                class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <div style="position: relative;">
                                                <input id="city-picker3" class="form-control" readonly type="text" value="江苏省/常州市/溧阳市" data-toggle="city-picker">
                                            </div>
                                        </div>
                                    </div>
                                    </div>

                                    <div class="item form-group areaList">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">绑定上级 <span
                                                class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12 areaChoose">
                                            <input class="form-control col-md-7 col-xs-12 province input_localName"
                                                   name="name"
                                                   placeholder="请输入市级" required="required" type="text" id="city">
                                            <input class="form-control col-md-7 col-xs-12 city input_localName"
                                                   name="name"
                                                   placeholder="请输入县级" required="required" type="text" id="xian">
                                            <div class="show_div"></div>
                                        </div>
                                    </div>
                                   <div class="item form-group recArea">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">推荐人 <span
                                                class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12 areaChoose">
                                            <input class="form-control col-md-7 col-xs-12 recProvince allName"
                                                   name="name"
                                                   placeholder="请输入推荐人" required="required" type="text"
                                                   id="tuijianren1">
                                            <input class="form-control col-md-7 col-xs-12 recCity allName" name="name"
                                                   placeholder="请输入推荐人" required="required" type="text"
                                                   id="tuijianren2">
                                            <div class="show_all"></div>
                                        </div>
                                    </div>
                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">登陆密码
                                            <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <input id="password" class="form-control col-md-7 col-xs-12" name="name"
                                                   placeholder="例如：24677111" required="required" type="text">
                                        </div>
                                    </div>

                                    <div class="item form-group"style="display: none;">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">费率 <span
                                                class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <select class="form-control" id="freeroute">
                                                <option value="随便打测试">随便打</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">在线支付
                                            <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12" id="isalipay">
                                            <select class="form-control">
                                                <option value="true" selected="selected">允许</option>
                                                <option value="false">不允许</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12"
                                               for="name">开设下级商户 <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <select class="form-control" id="nextagent">
                                                <option value="true" selected="selected">允许</option>
                                                <option value="false">不允许</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12"
                                               for="name">空中充值权限 <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <select class="form-control" id="airrecharge">
                                                <option value="1" selected="selected">允许</option>
                                                <option value="0">不允许</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">开设下级商户
                                            <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <select class="form-control" id="nextagent">
                                                <option value="true" selected="selected">允许</option>
                                                <option value="false">不允许</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12"
                                               for="name">代理商LOGO<span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <input class="form-control col-md-7 col-xs-12" id="file" name="file"
                                                   required="required" type="file" placeholder="请先上传图片"
                                                   form="formUpload">
                                        </div>
                                    </div>

                                    <div class="item form-group" style="display: none;">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">通话引擎
                                            <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <select class="form-control" id="calltype">
                                                <option value="1" selected="selected">随便打JH引擎</option>
                                                <option value="2">随便打MY引擎</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">负责人
                                            <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <input id="email" class="form-control col-md-7 col-xs-12" name="name"
                                                   placeholder="例如：张三" required="required" type="text">
                                        </div>
                                    </div>

                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">ADID
                                            <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <input id="adid" class="form-control col-md-7 col-xs-12" name="name"
                                                   placeholder="例如：145910000" required="required" type="text">
                                        </div>
                                    </div>
                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">PID
                                            <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <input id="pid" class="form-control col-md-7 col-xs-12" name="name"
                                                   placeholder="例如：mm_101082177_39184040_145910000" required="required"
                                                   type="text">
                                        </div>
                                    </div>
                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12"
                                               for="name">需要分润<span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <select class="form-control" id="isprofit">
                                                <option value="true" selected="selected">允许</option>
                                                <option value="false">不允许</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">分润比例
                                            <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <input id="dkbl" class="form-control col-md-7 col-xs-12" name="name"
                                                   placeholder="例如：1.00" required="required" type="text">
                                        </div>
                                    </div>
                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12"
                                               for="name">支付分润<span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <select class="form-control" id="isaliprofit">
                                                <option value="true" selected="selected">允许</option>
                                                <option value="false">不允许</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">支付分润比例
                                            <span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <input id="aliprofitratio" class="form-control col-md-7 col-xs-12"
                                                   name="name" placeholder="例如：1.00" required="required" type="text">
                                        </div>
                                    </div>

                                    <div class="item form-group">
                                        <label class="control-label col-md-3 col-sm-3 col-xs-12"
                                               for="name">结算积分类型<span class="required">*</span>
                                        </label>
                                        <div class="col-md-6 col-sm-6 col-xs-12">
                                            <select class="form-control" id="igtype">
                                                <option value="1" selected="selected">按天数计算返积分万分之五</option>
                                                <option value="2">一次性返积分15%</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="ln_solid"></div>
                                    <div class="form-group">
                                        <div class="col-md-6 col-md-offset-3">
                                            <a type="submit" class="btn btn-primary" href="javascript:void(0)"
                                               onclick="history.back(-1);">取消</a>
                                            <input id="add" type="button" class="btn btn-success"
                                                   href="javascript:void(0)" value="添加">
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- /page content -->
        <!-- 上传图片并添加-->
        <!-- /page content -->
        <!-- 上传图片并添加-->
        <%--<script src="../vendors/jquery/dist/jquery.min.js"></script>--%>
        <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
        <script type="text/javascript">
        function addBusinessNature() {
            var city = $("#city").val();
            var xian = $("#xian").val();
            var tuijianren1 = $("#tuijianren1").val();
            var tuijianren2 = $("#tuijianren2").val();
            var type = $("#nature").val();
            var username = $("#username").val();
            $.ajax({
                url: "http://smms.sbdznkj.com:2018/SbdVoip/BusinessNature/Add",
                type: "post",
                data: {
                    city: city,
                    xian: xian,
                    tuijianren1: tuijianren1,
                    tuijianren2: tuijianren2,
                    type: type,
                    username: username
                },
                dataType: "json",
                success: function (jsonData) {
                    console.log("success");
                }
            });
        }
        </script>
        <script type="text/javascript">
            var wordsArry = [];
            var type = $("#nature").val();//商家性质类型 1 2 3 --市代/县代/普通
            //推荐人显示
            function showRec(type) {
                $(".recProvince").hide().removeClass("active");
                $(".recCity").hide().removeClass("active");
                $(".recArea").show();
                if (type == 1) {
                    $(".recProvince").show().addClass("active");
                } else if (type == 2) {
                    $(".recCity").show().addClass("active");
                } else {
                    $(".recArea").hide();
                }
            }

            //商家性质选择
            $("#nature").change(function () {
                $(".city").hide().removeClass("active");
                $(".areaChoose input").val("");
                type = $(this).val();
                showRec(type);
                switch (type) {
                    case '1':
                        $(".areaList").hide();
                        break;
                    case '2':
                        $(".areaList").show();
                        break;
                    case '3':
                        $(".areaList").show();
                        $(".city").show();
                        break;
                    default:
                        $(".areaList").hide();
                        break;
                }
            });
            $(document).ready(function () {
                $(".input_localName").autocomplete({
                    source: function (request, response) {
                        $.ajax({
                            url: "http://smms.sbdznkj.com:2018/SbdVoip/BusinessNature/getNatureLike",
                            type: "post",
                            data: {
                                status: type,
                                localName: $(".input_localName").val(),
                                isAll: 1
                            },
                            dataType: "json",
                            success: function (jsonData) {
                                var data = eval(jsonData.data);
                                var context = "";
                                response($.map(data, function (item) {
                                    context = context + "<div class='append_div'><span class='append_span' data-id=" + item.managedElement + " data-name=" + item.localName + ">" + item.localName + "</span><div>";
                                }));
                                if (context != "") {
                                    $(".show_div").html("").append(context).show();
                                } else {
                                    $(".show_div").hide();
                                }
                            }
                        });
                    },
                });
                $(".allName").autocomplete({
                    source: function (request, response) {
                        $.ajax({
                            url: "http://smms.sbdznkj.com:2018/SbdVoip/BusinessNature/getNatureLike",
                            type: "post",
                            data: {
                                status: type,
                                localName: $(".allName").val(),
                                isAll: 1
                            },
                            dataType: "json",
                            success: function (jsonData) {
                                var data = eval(jsonData.data);
                                var context = "";
                                response($.map(data, function (item) {
                                    context = context + "<div class='append_div'><span class='append_span' data-id=" + item.managedElement + " data-name=" + item.localName + ">" + item.localName + "</span><div>";
                                }));
                                if (context != "") {
                                    $(".show_all").html("").append(context).show();
                                } else {
                                    $(".show_all").hide();
                                }
                            }
                        });
                    },
                });
                $(document).on("click", "input", function () {
                    $("input").removeClass("active");
                    $(this).addClass("active");
                });
                $(document).on("click", ".append_span", function () {
                    var name = $(this).data().name;
                    var id = $(this).data().id;
                    $("input.active").val(name).attr("data-id", id);
                    $(".show_div, show_all").hide();
                });
                $("body").mouseup(function () {
                    $(".show_div, .show_all").hide();
                });
            })

            /*该方法是再拼接div内容时加上的，即鼠标选中的时候，input框输入选中值  */
        </script>
        <!-- /page content -->
        <!-- 上传图片并添加-->
        <script src="<%=basePath%>vendors/jquery/dist/jquery.min.js"></script>
        <script type="text/javascript">

            $('#add').click(function () {

                var file = document.myForm.file.files[0];

                if (file != null || file != undefined) {

                    var fileName = file.name.substring(file.name.lastIndexOf(".") + 1).toLowerCase();

                    if (fileName != "jpg" && fileName != "jpeg" && fileName != "png" && fileName != "gif") {
                        alert("只能上传.jpg  .png  .jpeg  .gif类型的文件!");
                        return;
                    }


                    var fm = new FormData();

                    fm.append('file', file);

                    $.ajax(
                        {
                            url: "<%=basePath%>layfile/uploadFile1",
                            type: 'POST',
                            data: fm,
                            contentType: false, //禁止设置请求类型
                            processData: false, //禁止jquery对DAta数据的处理,默认会处理
                            //禁止的原因是,FormData已经帮我们做了处理
                            success: function (result) {
                                //测试是否成功
                                //但需要你后端有返回值
                                ajaxPost(result.json);
                            }
                        }
                    );
                } else {
                    ajaxPost(null);
                }
            });
        </script>

        <script type="text/javascript">
            // ajax 对象
            function ajaxObject() {
                var xmlHttp;
                try {
                    // Firefox, Opera 8.0+, Safari
                    xmlHttp = new XMLHttpRequest();
                } catch (e) {
                    // Internet Explorer
                    try {
                        xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
                    } catch (e) {
                        try {
                            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
                        } catch (e) {
                            alert("您的浏览器不支持AJAX！");
                            return false;
                        }
                    }
                }
                return xmlHttp;
            }

            // ajax post请求：
            function ajaxPost(logo) {
                var cityId = $("#city").val();
                var provinceId =$("#xian").val();
                var username = $("#username").val();
                var password = $("#password").val();
                var pic = $("#pic").val();
                var adid = $("#adid").val();
                var pid = $("#pid").val();
                var email = $("#email").val();
                var dkbl = $("#dkbl").val();
                var nature = $("#nature").val();//商家类型
               debugger;
                var tuijianren1 = $("#tuijianren1").val();
                var tuijianren2 =$("#tuijianren2").val();
                var freeroute = $("#freeroute").find("option:selected").val();
                var calltype = $("#calltype").find("option:selected").val();
                var isalipay = $("#isalipay").find("option:selected").val();
                var nextagent = $("#nextagent").find("option:selected").val();
                var airrecharge = $("#airrecharge").find("option:selected").val();
                var isprofit = $("#isprofit").find("option:selected").val();
                var isaliprofit = $("#isaliprofit").find("option:selected").val();
                var aliprofitratio = $("#aliprofitratio").val();
                var igtype = $("#igtype").val(); // 积分类型
                if (igtype == null) {
                    igtype = 1;
                }
                var ajax = ajaxObject();
                var address=$("#city-picker3").val();

                if (username == "" || username == null) {
                    alert("账号名不能为空");
                } else if (password == "" || password == null) {
                    alert("密码不能为空");
                } else {
                    ajax.open("post", "insertShop?password=" + password +
                        "&tuijianren2=" + tuijianren2 +
                        "&tuijianren1=" + tuijianren1 +
                        "&address=" + address +
                        "&nature=" + nature +
                        "&pic=" + pic +
                        "&flag=" + true +
                        "&cityId=" + cityId +
                        "&provinceId=" + provinceId +
                        "&username=" + username +
                        "&adid=" + adid +
                        "&pid=" + pid +
                        "&email=" + email +
                        "&calltype=" + calltype +
                        "&isalipay=" + isalipay +
                        "&role=" + 2 +
                        "&freeroute=" + freeroute +
                        "&nextagent=" + nextagent +
                        "&airrecharge=" + airrecharge +
                        "&isprofit=" + isprofit +
                        "&aliprofitratio=" + aliprofitratio +
                        "&dkbl=" + dkbl +
                        "&igtype=" + igtype +
                        "&agentlogo=" + logo +
                        "&isaliprofit=" + isaliprofit, false);
                    ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
                    ajax.onreadystatechange = function () {
                        if (ajax.readyState == 4) {
                            if (ajax.status == 200) {
                                var result = ajax.responseText;
                                if (result == "success") {
                                    //请求成功
                                    alert("创建成功");
                                    location.href = "content_shangjiaguanli";
                                } else {
                                    //创建失败
                                    alert(result);
                                }
                            } else {
                                //请求失败
                                alert("请求终止，请检查操作或联系客服咨询" + ajax.status);
                            }
                        } else {
                        }
                    };
                    ajax.send();
                }
            }
        </script>


    </div>
</div>


<!-- jQuery -->
<script src="../vendors/jquery/dist/jquery.min.js"></script>
<script src="../js/jquery-ui.js"></script>
<!-- Bootstrap -->
<script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- FastClick -->
<script src="../vendors/fastclick/lib/fastclick.js"></script>
<%--<!-- NProgress -->--%>
<script src="../vendors/nprogress/nprogress.js"></script>
<!-- bootstrap-daterangepicker -->
<script src="../vendors/moment/min/moment.min.js"></script>
<script src="../vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
<!-- Custom Theme Scripts -->
<script src="../build/js/custom.min.js"></script>
<!-- Select2 -->
<script src="../vendors/select2/dist/js/select2.full.min.js"></script>
<script src="../address/js/city-picker.data.js"></script>
<script src="../address/js/city-picker.js"></script>
<script src="../address/js/main.js"></script>
</body>

</html>
